Postgres Installation
Once time we have the package of docker. we execute the nex command in our terminal
docker run --name name-proyect -e POSTGRES_PASSWORD=my-password -d postgres
This has making all of necesary to run our image docker of postgres With this you alredy to use you service of postgres on docker
List of services running in you machine
docker ps
Run the service of postgress
docker run <name-image>
Stop the service of postgress
docker stop <name-image>
Start the service of postgress
docker start <name-image>
Delete the service of postgress
docker rm <name-image> or <identifier-image>